package com.auth.manage.base.exception;


import lombok.Data;

@Data
public class BizException extends RuntimeException{
    private ErrorCode errorCode;

    public BizException(ErrorCode code){
        super(code.getMsg());
        errorCode = code;
    }
}
